<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_awk.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">wb32l003_awk.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This file contains all the functions prototypes for the AWK firmware library.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;wb32l003.h&quot;</code><br />
</div>
<p><a href="wb32l003__awk_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_w_k___init_type_def.html">AWK_InitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">AWK Init structure definition.  <a href="struct_a_w_k___init_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a9b08f066a4f7f079e62756c6821d3021"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="wb32l003__awk_8h.html#a9b08f066a4f7f079e62756c6821d3021">AWK_CLK_SEL_STOP</a>&#160;&#160;&#160;(0x00U &lt;&lt; 5)</td></tr>
<tr class="separator:a9b08f066a4f7f079e62756c6821d3021"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb57688f61ab2587488058a2d6fec3f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="wb32l003__awk_8h.html#aeb57688f61ab2587488058a2d6fec3f4">AWK_CLK_SEL_LSI</a>&#160;&#160;&#160;(0x01U &lt;&lt; 5)</td></tr>
<tr class="separator:aeb57688f61ab2587488058a2d6fec3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac52afbce17c21da1254bf509e35ce6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="wb32l003__awk_8h.html#aac52afbce17c21da1254bf509e35ce6a">AWK_CLK_SEL_HSE</a>&#160;&#160;&#160;(0x02U &lt;&lt; 5)</td></tr>
<tr class="separator:aac52afbce17c21da1254bf509e35ce6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a815b2635bdec08aab2b332355ccf16f8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="wb32l003__awk_8h.html#a815b2635bdec08aab2b332355ccf16f8">AWK_CLK_SEL_LSE</a>&#160;&#160;&#160;(0x03U &lt;&lt; 5)</td></tr>
<tr class="separator:a815b2635bdec08aab2b332355ccf16f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a149eafa7ba5edba873ee29c4daf02eee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_AWK_CLK_SEL</b>(SEL)</td></tr>
<tr class="separator:a149eafa7ba5edba873ee29c4daf02eee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadbecca22485b5024927a35797db806c4"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_AWK_HSE_PRSC</b>(PRSC)&#160;&#160;&#160;((PRSC &lt; 0xFFF))</td></tr>
<tr class="separator:gadbecca22485b5024927a35797db806c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga15976fa0facf1f670a598522b43531b8"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_AWK_RLOAD_VAL</b>(VAL)&#160;&#160;&#160;((VAL &lt; 0xFF))</td></tr>
<tr class="separator:ga15976fa0facf1f670a598522b43531b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf457b1d665021da6a23451d267182cf5"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_AWK_DIV_SEL</b>(DIV)&#160;&#160;&#160;((DIV &lt; 0xF))</td></tr>
<tr class="separator:gaf457b1d665021da6a23451d267182cf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaeb9260d5f49b01fab90daedb57fdaedf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_w_k.html#gaeb9260d5f49b01fab90daedb57fdaedf">AWK_DeInit</a> (void)</td></tr>
<tr class="memdesc:gaeb9260d5f49b01fab90daedb57fdaedf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the AWK peripheral registers to their default reset values.  <a href="group___a_w_k.html#gaeb9260d5f49b01fab90daedb57fdaedf">More...</a><br /></td></tr>
<tr class="separator:gaeb9260d5f49b01fab90daedb57fdaedf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga466833d5ddf980438de3cb2aca78e34b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_w_k.html#ga466833d5ddf980438de3cb2aca78e34b">AWK_Init</a> (<a class="el" href="struct_a_w_k___init_type_def.html">AWK_InitTypeDef</a> *AWK_InitStruct)</td></tr>
<tr class="memdesc:ga466833d5ddf980438de3cb2aca78e34b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the AWK peripheral according to the specified parameters in the AWK_InitStruct.  <a href="group___a_w_k.html#ga466833d5ddf980438de3cb2aca78e34b">More...</a><br /></td></tr>
<tr class="separator:ga466833d5ddf980438de3cb2aca78e34b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafd22cc42a6e0829c501c85622651eae3"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>AWK_StructInit</b> (<a class="el" href="struct_a_w_k___init_type_def.html">AWK_InitTypeDef</a> *AWK_InitStruct)</td></tr>
<tr class="separator:gafd22cc42a6e0829c501c85622651eae3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5925a1395f7a44e64ace28c64186518f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_w_k.html#ga5925a1395f7a44e64ace28c64186518f">AWK_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga5925a1395f7a44e64ace28c64186518f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the AWK peripheral.  <a href="group___a_w_k.html#ga5925a1395f7a44e64ace28c64186518f">More...</a><br /></td></tr>
<tr class="separator:ga5925a1395f7a44e64ace28c64186518f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc631292241da5c23be9b270d28f92dd"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_w_k.html#gadc631292241da5c23be9b270d28f92dd">AWK_GetFlagStatus</a> (void)</td></tr>
<tr class="memdesc:gadc631292241da5c23be9b270d28f92dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified AWK flag is set or not.  <a href="group___a_w_k.html#gadc631292241da5c23be9b270d28f92dd">More...</a><br /></td></tr>
<tr class="separator:gadc631292241da5c23be9b270d28f92dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac75694af5d4437bd8849463bfa6eeb8d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_w_k.html#gac75694af5d4437bd8849463bfa6eeb8d">AWK_ClearFlag</a> (void)</td></tr>
<tr class="memdesc:gac75694af5d4437bd8849463bfa6eeb8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the AWK pending flag.  <a href="group___a_w_k.html#gac75694af5d4437bd8849463bfa6eeb8d">More...</a><br /></td></tr>
<tr class="separator:gac75694af5d4437bd8849463bfa6eeb8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This file contains all the functions prototypes for the AWK firmware library. </p>
<dl class="section author"><dt>Author</dt><dd>Westberry Application Team </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V0.0.3 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>12-April-2023 </dd></dl>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="aac52afbce17c21da1254bf509e35ce6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac52afbce17c21da1254bf509e35ce6a">&#9670;&nbsp;</a></span>AWK_CLK_SEL_HSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AWK_CLK_SEL_HSE&#160;&#160;&#160;(0x02U &lt;&lt; 5)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select AWK Clock hse </p>

</div>
</div>
<a id="a815b2635bdec08aab2b332355ccf16f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a815b2635bdec08aab2b332355ccf16f8">&#9670;&nbsp;</a></span>AWK_CLK_SEL_LSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AWK_CLK_SEL_LSE&#160;&#160;&#160;(0x03U &lt;&lt; 5)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select AWK Clock lse </p>

</div>
</div>
<a id="aeb57688f61ab2587488058a2d6fec3f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb57688f61ab2587488058a2d6fec3f4">&#9670;&nbsp;</a></span>AWK_CLK_SEL_LSI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AWK_CLK_SEL_LSI&#160;&#160;&#160;(0x01U &lt;&lt; 5)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select AWK Clock lsi </p>

</div>
</div>
<a id="a9b08f066a4f7f079e62756c6821d3021"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b08f066a4f7f079e62756c6821d3021">&#9670;&nbsp;</a></span>AWK_CLK_SEL_STOP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AWK_CLK_SEL_STOP&#160;&#160;&#160;(0x00U &lt;&lt; 5)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select AWK Clock stop </p>

</div>
</div>
<a id="a149eafa7ba5edba873ee29c4daf02eee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a149eafa7ba5edba873ee29c4daf02eee">&#9670;&nbsp;</a></span>IS_AWK_CLK_SEL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_AWK_CLK_SEL</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">SEL</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<span class="keywordtype">SEL</span> == <a class="code" href="wb32l003__awk_8h.html#a9b08f066a4f7f079e62756c6821d3021">AWK_CLK_SEL_STOP</a>) || \</div><div class="line">                                                (<span class="keywordtype">SEL</span> == <a class="code" href="wb32l003__awk_8h.html#aeb57688f61ab2587488058a2d6fec3f4">AWK_CLK_SEL_LSI</a>) || \</div><div class="line">                                                (<span class="keywordtype">SEL</span> == <a class="code" href="wb32l003__awk_8h.html#aac52afbce17c21da1254bf509e35ce6a">AWK_CLK_SEL_HSE</a>)  || \</div><div class="line">                                                (<span class="keywordtype">SEL</span> == <a class="code" href="wb32l003__awk_8h.html#a815b2635bdec08aab2b332355ccf16f8">AWK_CLK_SEL_LSE</a>))</div><div class="ttc" id="wb32l003__awk_8h_html_aac52afbce17c21da1254bf509e35ce6a"><div class="ttname"><a href="wb32l003__awk_8h.html#aac52afbce17c21da1254bf509e35ce6a">AWK_CLK_SEL_HSE</a></div><div class="ttdeci">#define AWK_CLK_SEL_HSE</div><div class="ttdef"><b>Definition:</b> wb32l003_awk.h:53</div></div>
<div class="ttc" id="wb32l003__awk_8h_html_aeb57688f61ab2587488058a2d6fec3f4"><div class="ttname"><a href="wb32l003__awk_8h.html#aeb57688f61ab2587488058a2d6fec3f4">AWK_CLK_SEL_LSI</a></div><div class="ttdeci">#define AWK_CLK_SEL_LSI</div><div class="ttdef"><b>Definition:</b> wb32l003_awk.h:52</div></div>
<div class="ttc" id="wb32l003__awk_8h_html_a815b2635bdec08aab2b332355ccf16f8"><div class="ttname"><a href="wb32l003__awk_8h.html#a815b2635bdec08aab2b332355ccf16f8">AWK_CLK_SEL_LSE</a></div><div class="ttdeci">#define AWK_CLK_SEL_LSE</div><div class="ttdef"><b>Definition:</b> wb32l003_awk.h:54</div></div>
<div class="ttc" id="wb32l003__awk_8h_html_a9b08f066a4f7f079e62756c6821d3021"><div class="ttname"><a href="wb32l003__awk_8h.html#a9b08f066a4f7f079e62756c6821d3021">AWK_CLK_SEL_STOP</a></div><div class="ttdeci">#define AWK_CLK_SEL_STOP</div><div class="ttdef"><b>Definition:</b> wb32l003_awk.h:51</div></div>
</div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
